Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Creating user profile codes and types
You can create user profile types and codes and extend the set of
UserProfileCodesand types that are supplied with the framework.
![]()
To create user profile types and codes:
- Choose the User Profile Code Control from the Progress Dynamics Administration Session menu, as shown:
![]()
The Profile types Maintenance - Browser window appears, as shown:
![]()
Here you see the built-in codes that allow you to save window sizes and other preferences to the profile tables.
- Press Add.
- Name the new code browser and give it a Description.
- Leave Client Profile Type checked on, but uncheck Server Profile Type. This combination tells the Profile Manager that this is a code that is maintained on the client side of the profile cache at run time, but not on the server side. This saves the overhead of sending every client setting change back to the server as it is made. All changes are sent back to the server to be written into the database at the end of the session.
- Leave the Profile Type Active toggle box checked.
- Save this new Profile Type.
- Select the Code tab to add specific codes to the type. Press Add in the toolbar inside the tab folder and type a code called Columns and a Profile Description, as shown:
![]()
- Save this and press Add again.
- Type a second code called Sorting with its own description, Column sorting, and save.
- Select the Profile Codes tab to see both of your new codes.
- Exit the Profile Type Maintenance window and see your new Type added to the list, as shown:
![]()
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |